package cn.ejiakanghu.logistics.service;

import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 退货
 *
 * @author houzb
 * @Description
 * @create 2021-11-04 9:28
 */
@Service
public interface GoodsRejectedService {


    /**
     * 退货取货及换货数据新增及修改
     *
     * @param missionId
     * @param imgs
     * @param lgStat
     */
    public boolean pickupIsCompleteOrReturnIsComplete(Integer missionId, List<String> imgs, int missionIsOver, int lgStat);

    /**
     * 创建退货开始任务
     *
     * @param OrderCode
     * @param baseInfoId
     */
    public List<Integer> createRejectedMission(String OrderCode, Integer baseInfoId);

    /**
     * 取件中
     *
     * @param manId
     * @param missionId
     * @param messageType
     * @param receiveType
     * @param execType
     */
    public void inReturnPickup(Integer manId, Integer missionId, Integer messageType, Integer receiveType, Integer execType);



    /**
     * 退货取货完成事件
     *
     * @param missionId
     * @param imgs      图片集合
     */
    public void pickupIsComplete(Integer missionId, List<String> imgs);

    /**
     * 退货完成
     *
     * @param missionId 任务表任务id
     * @param imgs      图片的集合
     */
    public boolean goodsReturnCompleted(Integer missionId, List<String> imgs);


}
